package com.coocaa.x.service.liteccconnector.aidl;

import com.coocaa.x.service.liteccconnector.aidl.ILiteCCConnectorHandler;

interface ILiteCCConnectorService {
	void addHandler(in ILiteCCConnectorHandler handler);
	void removeHandler(in ILiteCCConnectorHandler handler);


	String getServer();
	String getUserSession();
	ComponentName getCurrentLauncher();
	
	
	
	void sendCmd(String cmd,in byte[] body);
	byte[] execCmd(String cmd,in byte[] body);
	boolean writeDEChannel(String session);
    String readDEChannel(String session);
    
	boolean startAppWithPackageName(String pkgname);
	boolean startAppWithComponentName(in ComponentName cn);
	boolean startSourceSwitch();
	boolean startTVSetting();
	boolean startMediaBrowser();
	boolean startNetSetting();
	boolean startSystemUpgrade();
	boolean startMediaCenter();
	boolean startDeviceInfo();
	boolean starQRCode();
	boolean startPlayer(String name,String url,boolean needHistory);
	boolean showConnectNetworkDialogWithConfirmUI();
	String getLocation();
	String getStorage();
	boolean startGuide();
	void firstStartAppPoints(String tag);
	void startAppBonusPoints(String pkg);
	void installAppPoints(String pkg);
	void startVideoPoints(String url);
	void startWebPoints(String url);
	String getCurUserPoints();

	boolean collectSpecialpAppStart(String pkgName, String bussiness_type, String mapJson);
	
   void whoAmI();
}